﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DAO;
namespace BUS
{
    public class DichVuB
    {
        DichVuDB dv = new DichVuDB();

        public DataTable busLayDSHoaDonTheoNgay(DateTime dtime, DateTime dtkt)
        {
            return dv.dao_LayDSHoaDonTheoNgay(dtime, dtkt);
        }

        //-------------------------------------------
        public DataTable bLayDSNuocUong()
        {
            return dv.dLayDSNuocUong();
        }

        public DataTable bTimNuocUong(string tenThucUong)
        {
            return dv.dTimNuocUongTheoTen(tenThucUong);
        }

        public DataTable bLayDSBuffet(int loaiBuffet)
        {
            return dv.dLayDSBuffet(loaiBuffet);
        }

        public string bLayBuffetCanBan(int madv)
        {
            return dv.dLayBuffetCanBan(madv);
        }

        public string bLayThucUongCanBan(int madv)
        {
            return dv.dLayThucUongCanBan(madv);
        }

        public DataTable bLayDSBuffet()
        {
            return dv.dLayDSBuffet();
        }

        public string bLayGiaThucUong(int madv)
        {
            return dv.dLayGiaThucUong(madv);
        }
        //-------------------------------------------
        //-------------------------------------------
        //----Code Cuong-----------------------------
        public DataTable dLayDSDichVuSoPhanBanTheoNgay(DateTime dtime, DateTime dtkt)
        {

            return dv.dLayDSDichVuSoPhanBanTheoNgay(dtime, dtkt);

        }
        public DataTable dLayDSDichVu()
        {
            return dv.dLayDSDichVu();
        }
        public DataTable dLayDSNVLChoMotDichVu(int MaDV)
        {
            return dv.dLayDSNVLChoMotDichVu(MaDV);
        }
    }
}
